meson.build: Improve F16C detection on Visual Studio
authorChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 12 Apr 2021 08:24:37 +0000 (16:24 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 12 Apr 2021 10:13:42 +0000 (18:13 +0800)
commit6d6c8c59ebbcab0a2ec3e87912f4daf466da1e54
tree706f20ebde8a80215485b2389138bbb0858e08c4
parent46ed7540b2719f803772b9d6583987cd806a7418
meson.build: Improve F16C detection on Visual Studio

The __builtin_cpu...() intrisics are strictly for GCC/CLang-based compilers, so
don't use them in the checking code on Visual Studio.  The test code will still
compile without this change, but will certainly fail if we want it to link.
meson.build